package test.twelve;

class Annoyance extends Exception{}
class Sneeze extends Annoyance{}

public class Human {
	public static void main(String[] args) {
		try {
			throw new Sneeze();
		} catch (Sneeze e) {
			System.out.println("caught Sneeze");
		} catch (Annoyance s){
			System.out.println("caught Annoyance");
		}
		try {
			throw new Sneeze();
		} catch (Annoyance s){
			System.out.println("caught Annoyance");
		}
	}
}
